// out: ../css/common.css

@main-color: #fae100;
html,
body {
  font-size: 14px;
  height: 100%;
}

#app, .wrap, .main {
  height: 100%;
}

.flex-wrap {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  &.flex-vertical {
    -webkit-box-orient: vertical;
    -webkit-flex-flow: column;
    flex-flow: column;
  }
  .flex-con {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    flex: 1;
  }
}

.main {
  width: 100%;
  height: 100%;
}

// .icon {
//   display: inline-block;
//   background: url(../image/icons.png) no-repeat;
//   background-size: 400px 400px;
// }

.status-bar {
  width: 100%;
  background: transparent;
}

#header {
  height: 40px;
  line-height: 40px;
  background-color: @main-color;
  .header-home {
    display: flex;
    .search-wrap {
      width: 40px;
      line-height: 40px;
      text-align: center;
      margin-right: 20px;
      .iconfont {
        font-size: 20px;
        color: #fff;
      }
    }
    .nav {
      a {
        max-width: 100px;
        padding: 0 10px;
        line-height: 38px;
        color: #fff;
        font-size: 16px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        &.active {
          border-bottom: 2px solid #fff;
        }
      }
    }
  }
  .header-wrap {
    position: relative;
    .header-left, .header-right {
      position: absolute;
      left: 0;
      top: 0;
      width: 40px;
      height: 40px;
      text-align: center;
      line-height: 40px;
      .iconfont{
        font-size: 20px;
        color: #fff;
      }
    }
    .header-right {
      left: auto;
      right: 0;
    }
    .header-title {
      text-align: center;
      font-size: 16px;
      color: #fff;
    }
  }
}

#footer {
  border-top: 1px solid #efefef;
  background-color: #fff;
  ul {
    li {
      padding: 5px 0;
      text-align: center;
      font-size: 12px;
      color: #555;
      min-width: 20%;
      position: relative;
      .messageBadge {
        width: 10px;
        height: 10px;
        border-radius: 10px;
        background: #f00;
        position: absolute;
        right: 12px;
        top: 6px;
      }
      i.icon {
        width: 30px;
        height: 30px;
        display: block;
        margin:0 auto;
      }
      &.active {
        color: @main-color;
        .icon-tab0 {
          background-position: 0 0;
        }
        .icon-tab1 {
          background-position: 0 -40px;
        }
        .icon-tab2 {
          background-position: 0 -80px;
        }
        .icon-tab3 {
          background-position: 0 -120px;
        }
        .icon-tab4 {
          background-position: 0 -160px;
        }
      }
      .icon-tab0 {
        background-position: -40px 0;
      }
      .icon-tab1 {
        background-position: -40px -40px;
      }
      .icon-tab2 {
        background-position: -40px -80px;
      }
      .icon-tab3 {
        background-position: -40px -120px;
      }
      .icon-tab4 {
        background-position: -40px -160px;
      }
      .title {
        width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
    }
  }
}

input, button {
  appearance: none;
  outline: medium;
}
.empty-img{
  width: 150px;
  margin: 80px auto 10px;
  display: block;
}
.empty-text{
  font-size: 12px;
  text-align: center;
  width: 100%;
}